.order-items {
    display: block;
    margin-bottom: 1rem;

    .order-item {
        border-bottom: 2px solid #EFEFEF;

        &__row {
            display: flex;
            padding: 10px 0;
            align-items: center;
        }

        &__image {
            width: 50px;
            height: 50px;
            object-fit: contain;
        }

        &__name {
            flex: 1;
            font-weight: 600;
            display: flex;
            align-items: center;
            padding: 0 10px;
        }

        &__price {
            min-width: 70px;
            color: #888;
            font-size: .9rem;
            text-align: right;
        }

        &__total {
            font-size: 1.1rem;
            min-width: 100px;
            text-align: right;
        }
    }
}

.order-totals {
    padding: 10px 0;

    .order-total {
        padding: 7px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;

        &__label {
            flex: 1;
            text-transform: uppercase;
            font-size: 0.85em;
            position: relative;
        }

        &__price {
            text-align: right;
        }

        &-total {
            font-size: 22px;
            font-weight: 700;
            border-top: 2px solid #efefef;
            color: #09adaa;
        }
    }
}

.order-notes {
    background-color: #FAFAFA;
    border: 1px solid #EFEFEF;
    padding: 15px;
    position: relative;

    h5 {
        margin-block-start: 0;
        margin-block-end: 5px;
    }

    p{
        margin-block-start: 0;
        margin-block-end: 0;
        color: #666666;
    }
}

.order-infos {
    display: flex;
    column-gap: 10px;
    margin-bottom: 1rem;

    .order-info {
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;

        &__number {
            background-color: #06948F;
            color: #ffffff;
        }

        &__customer {
            background-color: #DBDBDB;
        }
    }
}

.order-status {
    color: #777777;
    text-transform: capitalize;
}

.order-editable {
    &:after {
        content: '\f12b';
        font-family: yith-pos-icon !important;
        position: absolute;
        font-size: 13px;
        right: 0;
        top: 50%;
        opacity: 0;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        transform: translateY(-50%);
        color: rgba(0, 0, 0, .5);
    }

    &:hover:after {
        opacity: 1;
    }
}